roundedbox: Treat path segments differently
authorBenjamin Otte <otte@redhat.com>
Thu, 22 Jan 2015 14:47:36 +0000 (15:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jan 2015 15:25:54 +0000 (16:25 +0100)
commit7e5ac3a58d0362080c4eb7c9b68ead99674c7b87
tree75c682c1feb214457883d5cf5b9ea82e9d817bdb
parent3a9bf0fe1d9202862b6c8e45a2575f178eae8aee
roundedbox: Treat path segments differently

If a side of the box is 0px wide, make the corners owned by the adjacent
sides. This avoids spilling over of unwanted colors from the 0-width
side into the corner.

New test for this case is included.
testsuite/reftests/Makefile.am
testsuite/reftests/border-corner-zero-width-rendering.css [new file with mode: 0644]
testsuite/reftests/border-corner-zero-width-rendering.ref.ui [new file with mode: 0644]
testsuite/reftests/border-corner-zero-width-rendering.ui [new file with mode: 0644]